using System;
using System.Collections.Generic;
using Table.DataModel;
namespace Table.Dao
{
    public class TablePropertyEvaluateDisplayPercentDao:DaoBase<TablePropertyEvaluateDisplayPercent>
    {
        public override string GetFileName()
        {
            return "TablePropertyEvaluateDisplayPercent.csv";
        }
        protected override TablePropertyEvaluateDisplayPercent ParseRowData(string[] rowData)
        {
            return null;
        }
        protected override void InitTableRowData(TableFileReader dfr)
        {
            for (int i = 0; i < 5; ++i)
            {
                dfr.ReadRow();
            }
            TablePropertyEvaluateDisplayPercent.SSSPercent = float.Parse(dfr.ReadRow()[1]);
            TablePropertyEvaluateDisplayPercent.SSPercent = float.Parse(dfr.ReadRow()[1]);
            TablePropertyEvaluateDisplayPercent.SPercent = float.Parse(dfr.ReadRow()[1]);
            TablePropertyEvaluateDisplayPercent.APercent = float.Parse(dfr.ReadRow()[1]);
            TablePropertyEvaluateDisplayPercent.BPercent = float.Parse(dfr.ReadRow()[1]);
            TablePropertyEvaluateDisplayPercent.CPercent = float.Parse(dfr.ReadRow()[1]);
            TablePropertyEvaluateDisplayPercent.DPercent = float.Parse(dfr.ReadRow()[1]);
            TablePropertyEvaluateDisplayPercent.EPercent = float.Parse(dfr.ReadRow()[1]);
        }
    }
}
